package com.zj.study.thread;

import com.zj.study.utils.util.StringUtils;

/**
 * <p>Title: Test</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2024 版权</p>
 * <p>Company: Oceanpayment</p>
 *
 * @author Jerry Zhao
 * @version V1.0
 * @date 2024年05月31号 17点11分21秒
 */
public class Test {


//    public static void main(String[] args) {
////        CompletableFuture<String> taskA = CompletableFuture.supplyAsync(() -> {
////            String id = UUID.randomUUID().toString();
////            System.out.println("执行任务A：" + id);
////            return id;
////        });
////        CompletableFuture<String> taskB = taskA.thenApply(result -> {
////            System.out.println("任务B获取到任务A结果：" + result);
////            result = result.replace("-", "");
////            return result;
////        });
////
////        System.out.println("main线程拿到结果：" + taskB.join());
//
//
//            String fileLocalName = "HKG_CCB_STOP_DATA.xlsx";
//            String uploadSftpFileName = fileLocalName.substring(0, fileLocalName.lastIndexOf(".")) + ".xlsx";
//            System.out.println("uploadSftpFileName = " + uploadSftpFileName);
//
//    }


    public static void main(String[] args) {
        String ic = StringUtils.join("IC", "160120");
        System.out.println("ic = " + ic);
    }

}